package com.que.owen.service;

import com.que.owen.model.PageQuery;
import org.springframework.data.mongodb.core.query.Criteria;
import org.springframework.data.mongodb.core.query.Query;

/**
 * @ClassName TestMongoService
 * @Author Owen.Que
 * @Description
 * @Date 8/29/2018 15:47
 **/
public interface TestMongoService {

    void testOperation();

    String paginationGetByQuery(Query query, PageQuery pq);

    String insertTestData(String collection, Long count);

    String paginationGetByAggregate(Criteria criteria, PageQuery pq);

    String testMock(Integer pageNo);
}
